import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './pubilc1/public.less';
import 'vant/lib/button/style';

Vue.config.productionTip = false

// 导入组件
import { 
  Button,
  Icon,
  Empty,
  Dialog,
  Form,
  Checkbox,
  Field,
  Toast,
  Swipe,
  SwipeItem,
  Tab,
  Tabs,
} from 'vant';
import 'vant/lib/index.css';
import { NavBar } from 'vant';
import { Popup } from 'vant';
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

// 使用Vant组件
Vue.use(Popup);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(NavBar);
Vue.use(Button);
Vue.use(Icon);
Vue.use(Empty);
Vue.use(Dialog);
Vue.use(Form);
Vue.use(Checkbox);
Vue.use(Field);
Vue.use(Toast);
Vue.use(Swipe);
Vue.use(SwipeItem);
